package com.ruoyi.system.mapper;


import com.ruoyi.system.domain.JiajiaCharityActivitiesEnroll;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公益活动报名Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-10
 */
public interface JiajiaCharityActivitiesEnrollMapper 
{
    /**
     * 查询公益活动报名
     * 
     * @param id 公益活动报名主键
     * @return 公益活动报名
     */
    public JiajiaCharityActivitiesEnroll selectJiajiaCharityActivitiesEnrollById(Long id);

    /**
     * 查询公益活动报名列表
     * 
     * @param jiajiaCharityActivitiesEnroll 公益活动报名
     * @return 公益活动报名集合
     */
    public List<JiajiaCharityActivitiesEnroll> selectJiajiaCharityActivitiesEnrollList(JiajiaCharityActivitiesEnroll jiajiaCharityActivitiesEnroll);

    /**
     * 新增公益活动报名
     * 
     * @param jiajiaCharityActivitiesEnroll 公益活动报名
     * @return 结果
     */
    public int insertJiajiaCharityActivitiesEnroll(JiajiaCharityActivitiesEnroll jiajiaCharityActivitiesEnroll);

    /**
     * 公益活动报名完成提交
     * 
     * @param jiajiaCharityActivitiesEnroll 公益活动报名
     * @return 结果
     */
    public int updateJiajiaCharityActivitiesEnroll(JiajiaCharityActivitiesEnroll jiajiaCharityActivitiesEnroll);

    /**
     * 删除公益活动报名
     * 
     * @param id 公益活动报名主键
     * @return 结果
     */
    public int deleteJiajiaCharityActivitiesEnrollById(Long id);

    /**
     * 批量删除公益活动报名
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteJiajiaCharityActivitiesEnrollByIds(String[] ids);

    public int auditJiajiaCharityActivitiesEnroll(JiajiaCharityActivitiesEnroll jiajiaCharityActivitiesEnroll);

    JiajiaCharityActivitiesEnroll select(@Param("uid") Long uid,@Param("activitiesId") Long activitiesId);
}
